{% extends 'home/public/base.html' %}

{% block title %}
    <title>在线支付</title>
{% endblock %}

{% block css %}
<link rel="stylesheet" type="text/css" href="/static/home/css/cart.css">
<link rel="stylesheet" type="text/css" href="/static/home/css/cart-app.css">
{% endblock %}

{% block paths %}
<div class="navbar-left">
    <ol class="breadcrumb">
        <li class="active" >购物车</li>
        <li >确认订单</li>
        <li style="color:red;">在线支付</li>
        <li>完成 </li>
    </ol>
</div>
{% endblock %}

{% block con %}
<div class="mainbody cart" style="padding-top: 80px;">
    <div class="container">

    <div class="row">
        <center>
            <br>
            <br>

            <div class="col-sm-6 col-md-4 col-md-offset-4">
                <div class="thumbnail">
                  <img  src="/static/buy.png" >
                  <div class="caption">
                    <h3>总金额: <span style="color:red;">{{ order.totalprice }}</span> 元 </h3>
                    <p>收货人:{{ order.aid.addressname }}</p>
                    <p>收货电话:{{ order.aid.addressphone }}</p>
                    <p>收货地址:{{ order.aid.address }}</p>
                    <p>
                        <a href="{% url 'myhome_orderbuysuccess' order.id %}" class="btn btn-primary" role="button">付款</a>
                        <a href="#" class="btn btn-default" role="button">取消</a>
                    </p>
                  </div>
                </div>
            </div>
        </center>
    </div>

    </div>
</div>
{% endblock %}

{% block js %}

{% endblock %}